<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="description" content="" />
<meta name="author" content="" />
<!--[if IE]>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<![endif]-->
<title>下注明细</title>
<!-- BOOTSTRAP CORE STYLE  -->
<link href="__STATIC__/index/css/bootstrap.css" rel="stylesheet" />
<!-- FONT AWESOME STYLE  -->
<link href="__STATIC__/index/css/font-awesome.css" rel="stylesheet" />
<!-- CUSTOM STYLE  -->
<link href="__STATIC__/index/css/style.css" rel="stylesheet" />
<style>
.error{
	color:red;
}	
</style>
</head>
<body>
<div class="navbar navbar-inverse set-radius-zero" style="min-height:40px;">
	<div class="container">
		<div class="navbar-header" style="padding:0">
			<div class="navbar-brand" style="float:right;">
				<a href="javascript:void(0)" style="font-size: 13px;">投资记录</a>
			</div>
			<a class="navbar-brand" href="{:url('index/index/index')}"style="padding:0">
				<!-- <img src="__STATIC__/index/logo.jpg" style="width:30px;height:30px;margin:0px 0px;position:relative;top:10px;left:4px;" /> -->
			</a>
            <span id="game-title" style="float: left;margin-left: 10px;margin-top:10px;font-size: 13px;">幸运理财 <a href="{:url('index/index/index')}" style="font-size: 13px;">首页</a>&nbsp;&nbsp;</span>        
			<!-- <a href="#" class="btn btn-danger pull-right">LOG ME OUT</a> -->
		</div>

		<!-- <div class="right-div">
			<a href="#" class="btn btn-danger pull-right">LOG ME OUT</a>
		</div> -->
	</div>
</div>

<section class="footer-section" style="padding-right:18px;padding-left:18px;">
  <div class="container" style="width:100%;padding:0 2px;">
    <div class="row"  style="text-align:left;">
      <div class="col-md-6 col-sm-6 col-xs-12">
               <div class="panel panel-danger">
               <table class="table table-bordered" style="text-align:center;word-break:break-all;word-wrap:break-word;">
                      <tr bgcolor="#D8BFD8">
                        <td>用户名</td>
                        <td>期数</td>
                        <td>下单积分</td>
                        <td>涨跌</td>
                        <td>状态</td>
                        <td>中奖积分</td>
                        <td>下注时间</td>
                      </tr>
                      {volist name="data" id="vo"}
                      <tr>
                        <td>{$vo.username}</td>
                        <td>{$vo.qishu}</td>
                        <td>{$vo.money}</td>
                        <td>
                        {if condition="$vo.updown eq 1"}
                        买涨
                        {else /}
                        买跌
                        {/if}
                      </td>
                      <td>
                        {if condition="$vo.status eq 1"}
                        <span style="color:red">已中奖</span>
                        {elseif condition="$vo.status eq 0"}
                        <span style="color:red">未中奖</span>
                        {else/}
                        <span style="color:red">未开奖</span>
                        {/if}
                      </td>
                      <td>{$vo.winmoney}</td>
                      <td>{$vo.ordertime}</td>
                      </tr>
                      {/volist} 
                      {empty name='moneys'}
                        {else/}
                        <tr><td colspan="6" style="color:red;">
                         下单总积分 ：{$moneys}
                        </td></tr>    
                      {/empty}  
                </table>  
                </div>
                <span style="float: left;margin-top: -15px;">第{$data->currentPage()} 页 / 共 {$data->lastPage()} 页 ( 共 {$data->total()} 条 记 录 )  </span>
                 <span style="margin-left:-205px;margin-top: -5px;">{$data->render()}</span>
            </div>   
    </div>
  </div>
</section> 
<!-- form SECTION END-->

  <!-- FOOTER SECTION END-->
<!-- JAVASCRIPT FILES PLACED AT THE BOTTOM TO REDUCE THE LOADING TIME  -->
<!-- CORE JQUERY  -->
</body>
</html>